package com.weichat.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * Created with IntelliJ IDEA
 * Created By HZP
 * Date: 2018/6/19
 * Time: 22:31
 */
@Data
public class OrderForm {
    /**
     * 买家姓名必填
     */
    @NotEmpty(message = "姓名必填")
    private String name;
    @NotEmpty(message = "电话不能为空")
    private String phone;
    @NotEmpty(message = "地址不能为空")
    private String address;
    @NotEmpty(message = "openID必填")
    private String openid;
    @NotEmpty(message = "购物车不能为空")
    private String items;
}
